All Questions
8 questions
3votes
2answers
5kviews
Beginner - OOP Project - Airline reservation system
Hi I just finished a VERY Basic airline reservation system. Wanted some feedback please let me know what you all think, if I am obfuscating information or passing parameters where I shouldn't or if ...
4votes
1answer
332views
LeetCode 284: Peeking Iterator
I'm posting my code for a LeetCode problem. If you'd like to review, please do so. Thank you for your time! Problem Given an Iterator class interface with methods: ...
0votes
2answers
184views
Verifying if two numbers are equal using ArrayLists
I have some question about the code below. It works correctly, but: Is there a better/another way to solve the exercise (as an expert would have done:) or mine it's perfectly done? Also, I don't see ...
1vote
1answer
3kviews
Student Class in C++ using sstream for format
Based on my previous review, I'm posting another Hackerrank Class solution. Problem Statement We can store details related to a student in a class consisting of his age (int), first_name (...
4votes
3answers
3kviews
User ranking system
I have written my first code of object oriented Python. Prior to this I have spent a week on learning the concepts and understanding the technique. I would appreciate it somebody reviews this and give ...
5votes
2answers
685views
Project Euler #23 Non-abundant sums
I'm having trouble optimizing the Project Euler problem number 23 : A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the ...
5votes
2answers
1kviews
Project Euler #11 Largest product in a grid
Question Link to the exercise : https://projecteuler.net/problem=11 I'm currently working on the Project Euler exercise's and I just finished the eleven exercise. It's working fast enough it takes ...
10votes
2answers
628views
Project Euler #18 - Max path in a triangle
I've been learning Java for the past 6 months online and haven't had anyone review my code before. I'm worried that I may be making lots of beginner mistakes and was wondering if anyone could point ...